<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
<link href="css/homeCenter.css" rel="stylesheet" type="text/css" />
<script type=text/javascript src="scripts/jquery.js"></script>
<script language="javascript">
function addmsg(tab_num){
	var content="<li class='other'><div>me:"+ GetTime()+"</div><div class='msg'>"+$("#new_msg").val()+"</div></li>";
	$("#msg_show_1").append(content);
	$("#msg_show_1").scrollTop(10000);
}
function GetTime(){
	var date= new Date();
	var time=date.getFullYear()+"-"+date.getMonth()+1+"-"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
	return time;
}
</script>
</head>
<body>
<div id="business_card"  style="display:none">
  <div class="name">姚俊光</div>
  <div class="nickname">Roooo</div>
  <div class="mobile">15900582223</div>
  <div class="signat">姚俊光</div>
</div>
<div class="msg_content" id="msg_content"  style="display:none">
  <ul  class="msg_show" id="msg_show_1">
    <li class="me">
      <div class="title">me:2009-09-09 0:00:00</div>
      <div class="msg">这是主要内容</div>
    </li>
    <li class="other">
      <div class="title">me:2009-09-09 0:00:00</div>
      <div class="msg">这是主要内容</div>
    </li>
  </ul>
  <div>输入:<a id="hint_2" class="hint"></a>
    <textarea class="newmsg_box" id="new_msg"></textarea>
  </div>
  <div>
    <input type="button" value="发送" onclick="addmsg(2)"/>
    <input type="button" value="关闭" onclick="closetab(2)"/>
  </div>
</div>
<div id="msg_hint" onclick="ViewNewMSG()" style="display:none">
  <div id="msg_con">你有新的消息啦!,点击我查看</div>
</div>
<div id="Addbuddy">
  <h1>添加好友</h1>
  <div><span class="name">移动号码:</span> <span>
    <input type="text" id="Add_mobile"/>
    </span> </div>
  <div><span class="name">附加:</span> <span>
    <input type="text" id="Add_desc"/>
    </span> </div>
  <div class="button">
    <input type="button" value="确定" onclick=""/>
    <input type="button" value="取消" onclick="" />
  </div>
</div>
</body>
</html>
